package org.sunflower.aliyun;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @description:
 * @author: TanJingyu
 * @create: 2021-10-11 18:54
 **/
public class AliyunProperties {
    @Getter
    @Setter
    @ConfigurationProperties(prefix = "aliyun.oss.transfer7")
    public static class Oss {
        private String bucketName;
        private String endpoint;
        private String accessKeyId;
        private String accessKeySecret;
    }

    @Getter
    @Setter
    @ConfigurationProperties(prefix = "aliyun.ice")
    public static class Ice {
        private String regionId;
        private String endpoint;
        private String accessKeyId;
        private String accessKeySecret;
    }
}
